package c.e.a.b.e.c;

import android.app.Activity;
import android.os.Bundle;
import android.os.RemoteException;
import c.e.a.b.e.c.g.a;
import c.e.a.b.e.c.g.b;

/* compiled from: com.google.android.gms:play-services-measurement-sdk-api@@18.0.0 */
public final class e0 extends a {
    public final /* synthetic */ Bundle e;
    public final /* synthetic */ Activity f;
    public final /* synthetic */ b g;

    public e0(b bVar, Bundle bundle, Activity activity) {
        this.g = bVar;
        this.e = bundle;
        this.f = activity;
        super(true);
    }

    public final void a() throws RemoteException {
        Bundle bundle;
        if (this.e != null) {
            bundle = new Bundle();
            String str = "com.google.app_measurement.screen_service";
            if (this.e.containsKey(str)) {
                Object obj = this.e.get(str);
                if (obj instanceof Bundle) {
                    bundle.putBundle(str, (Bundle) obj);
                }
            }
        } else {
            bundle = null;
        }
        g.this.h.onActivityCreated(new c.e.a.b.c.b(this.f), bundle, this.b);
    }
}
